package com.project.bean.SystemInfo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.time.LocalDateTime;

//日志信息实体

@TableName("record_info")
public class RecordBean {


    @TableId(value = "record_id",type = IdType.AUTO)
    private int recordId;//日志编号

    @TableField("record_name")
    private String recordName;//日志内容

    @TableField("record_time")
    private LocalDateTime recordTime;// 日志时间


    public RecordBean() {
    }


    public RecordBean(String recordName, LocalDateTime recordTime) {
        this.recordName = recordName;
        this.recordTime = recordTime;
    }

    public RecordBean(int recordId, String recordName, LocalDateTime recordTime) {
        this.recordId = recordId;
        this.recordName = recordName;
        this.recordTime = recordTime;
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    public LocalDateTime getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(LocalDateTime recordTime) {
        this.recordTime = recordTime;
    }

    @Override
    public String toString() {
        return "RecordBean{" +
                "recordId=" + recordId +
                ", recordName='" + recordName + '\'' +
                ", recordTime='" + recordTime + '\'' +
                '}';
    }


}
